package cn.lanca.gof6_10._07adapter.case1;

import com.example.demo.gof6_10._07adapter.case1.adapter.ClassAdapter;
import com.example.demo.gof6_10._07adapter.case1.target.Target;

/**
 * @author meihongliang
 * @since 2020/8/10 16:04
 */
public class ClassAdapterTest {
    public static void main(String[] args) {
        System.out.println("类适配器模式测试: ");
        Target target = new ClassAdapter();
        ClassAdapter classAdapter = new ClassAdapter();
        classAdapter.specificRequest();
        System.out.println("---------------");
        target.request();
    }
}
